//
//  BottomToolbar.h
//  MoneyIndividual
//
//  Created by Tai Le on 1/2/14.
//  Copyright (c) 2014 Le Anh Tai. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol BottomToolbarDelegate;
@interface BottomToolbar : UIView
{
    NSMutableArray *_buttons;
    NSMutableArray *_lineViews;
    UIView *_lineTop;
    int _numberOfTitle;
}

@property (nonatomic, weak) id<BottomToolbarDelegate> delegate;

- (id)initWithTitles:(NSArray *)titles;

@end

@protocol BottomToolbarDelegate <NSObject>

- (void)bottomToolbar:(BottomToolbar*)toolbar didPressedButtonAtIndex:(NSInteger)index;

@end

